package com.sun.pojo;

import lombok.Data;

@Data
public class Account implements Comparable<Account>{
    private Integer id;
    private String name;


    @Override
    public int compareTo(Account account) {
        return account.id - this.id;
    }
}
